<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
<!-- Spirng MVC配置文件，被firstframe-servlet.xml调用import -->
<beans>
    <bean id="booksMapping" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
        <property name="mappings">
            <value>
                /modules/books/booksType.do=booksTypeManagerController
                /modules/books/booksRoom.do=booksRoomManagerController
                /modules/books/booksInfo.do=booksInfoManagerController
                /modules/books/booksBorrow.do=booksBorrowManagerController
                /modules/books/bookLose.do=bookLoseManagerController
                /modules/books/bookRestore.do=bookRestoreManagerController
            </value>
        </property>
    </bean>
    
    <bean name="booksTypeManagerController" class="cn.firstsoft.modules.books.web.BooksTypeManagerController"  autowire="byName"/> 
    
    <bean name="booksRoomManagerController" class="cn.firstsoft.modules.books.web.BooksRoomManagerController"  autowire="byName"/>
    
    <bean name="booksInfoManagerController" class="cn.firstsoft.modules.books.web.BooksInfoManagerController"  autowire="byName"/>  

    <bean name="booksBorrowManagerController" class="cn.firstsoft.modules.books.web.BooksBorrowManagerController"  autowire="byName"/>  
    
    <bean name="bookLoseManagerController" class="cn.firstsoft.modules.books.web.BookLoseManagerController"  autowire="byName"/>  
    
    <bean name="bookRestoreManagerController" class="cn.firstsoft.modules.books.web.BookRestoreManagerController"  autowire="byName"/>
    
</beans>